package org.grottarossa.template.drivers.components;


import java.util.ArrayList;

import org.grottarossa.template.data.pojo.content.Content;
import org.grottarossa.template.data.pojo.query.Query;
import org.grottarossa.template.data.pojo.table.Record;
import org.grottarossa.template.data.pojo.users.User;

import org.grottarossa.template.drivers.DriverException;

public interface SearchEngine
{
	void indexCase(Record caseRecord) throws DriverException ;
	void indexDocument(Content content);
	void indexQuery(Query query);
	void indexUsers(User user);
	public ArrayList<String> search(String freeTextQuery) throws DriverException;

}
